package pers.gxm.command;

import java.awt.*;

public class SetColorCommand implements Command{

    protected Drawable drawable;
    private Color color;

    public SetColorCommand(Drawable drawable , Color color){
        this.drawable = drawable;
        this.color = color;
    }
    @Override
    public void execute() {
        drawable.setColor(color);
    }
}
